package org.example.order.openFeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "storageService")
public interface StorageOpenFeignClient {

    @GetMapping("/updateStorage")
    public abstract String updateStorage(@RequestParam("commodityCode") String commodityCode, @RequestParam("count") Integer count);
}